package com.css.apps.base.user.model;
import java.util.Date;

import com.css.db.query.QueryCache;

/**
 * SUser entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
public  class SUserDevice implements java.io.Serializable{
	// Fields
	private String uuid;
	private String userId;
	private String deviceType;
	private String deviceModel;
	private Date lastLoginTime;
	private String deviceImei;
	private String deviceVendor;
	private String osName;
	private String osVersion;
	private String delFlag;
	private String loginStatus;
	private Integer totalLoginCount;
	
	private SUser userObj;
	/** default constructor */
	public SUserDevice() {
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getDeviceModel() {
		return deviceModel;
	}
	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getDeviceImei() {
		return deviceImei;
	}
	public void setDeviceImei(String deviceImei) {
		this.deviceImei = deviceImei;
	}
	public String getDeviceVendor() {
		return deviceVendor;
	}
	public void setDeviceVendor(String deviceVendor) {
		this.deviceVendor = deviceVendor;
	}
	public String getOsName() {
		return osName;
	}
	public void setOsName(String osName) {
		this.osName = osName;
	}
	public String getOsVersion() {
		return osVersion;
	}
	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}
	public String getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	public String getLoginStatus() {
		return loginStatus;
	}
	public void setLoginStatus(String loginStatus) {
		this.loginStatus = loginStatus;
	}
	public SUser getUserObj() {
		this.userObj = QueryCache.get(SUser.class,this.userId);
		return userObj;
	}
	public void setUserObj(SUser sUser) {
		this.userObj = sUser;
	}
	public String getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}
	public Integer getTotalLoginCount() {
		return totalLoginCount;
	}
	public void setTotalLoginCount(Integer totalLoginCount) {
		this.totalLoginCount = totalLoginCount;
	}
	
}